
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
fast-node-logger
Advanced tools
this package provides:
logs
directory of root project directory.This is an opinionated package that limit the flexibility of awesome pino package. if you need full functionality please use original package.
import { createLogger } from "fast-node-logger";
const logger = await createLogger();
logger.info(`Logger is Ready!`);
You can use the complimentary extension for VSCode writelog-snippets.
const options: Options = {
logDir: "./my-logs",
retentionTime: 604800, // for 7 days
};
await createLogger(options);
import { createLogger, Options } from "fast-node-logger";
const options: Options = {
level: "trace",
};
const logger = await createLogger(options);
returns an instance of pino
import { createLogger } from "fast-node-logger";
const logger = await createLogger();
logger.info(`Logger is Ready!`);
a shortcut for logger.info(message)
with ability to additionally print to console with second parameter {stdout: true}
import { writeLog, createLogger, Options } from "fast-node-logger";
await createLogger();
writeLog(`logger is created!`, { stdout: true, level: "trace" });
FAQs
fast file logger base on pino
The npm package fast-node-logger receives a total of 42 weekly downloads. As such, fast-node-logger popularity was classified as not popular.
We found that fast-node-logger demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.